package jscl.reflection;

import java.util.Map;

import jscl.reflection.SampleDataGenerator.SampleMark;

/**
*
* @author Sławomir Śledź
* @since 1.0
*/
public class MetaDataFactoryExample {


	public static void main(String[] args) {

		IMetaDataFactory<SampleMark> factory;

		factory = new MetaDataFactory<SampleMark>(SampleMark.class);

		Map<String, IMetaData<SampleMark>> name2MetaData = factory
				.class2MetaDataByFullPath(SampleDataGenerator.Car.class);
		
		for(String path : name2MetaData.keySet()) {
			System.out.println(path + "\n" + name2MetaData.get(path) + "\n\n");
		}
		
		for(String path : name2MetaData.keySet()) {
			System.out.println(path);
		}

	}
	
}
